package com.kehutong.charge.entity;

import com.kehutong.charge.util.enums.ArrearsSetTypeEnum;
import com.kehutong.charge.util.enums.ResidentsTypeEnum;
import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.KeyType;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.math.BigDecimal;

/**
 * @program: kht
 * @description: 欠费设置表
 * @author: jian Ye
 * @create: 2021/7/2
 **/
@Table(value="t_charge_arrears_config", comment="欠费设置表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeArrearsConfig extends DataEntity {

    protected ChargeArrearsConfig(String id) {
        super(id);
    }


    @Column(comment="小区编号")
    private String communityNo;

    @Column(comment="小区名称")
    private String communityName;

    @Column(comment="欠费统计类型")
    private ArrearsSetTypeEnum arrearsSetTypeEnum;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment="是否隐藏编辑按钮")
    private Boolean hide;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "排序")
    private Integer sort;

    @Column(comment = "是否初始化数据")
    private boolean initData;

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public ArrearsSetTypeEnum getArrearsSetTypeEnum() {
        return arrearsSetTypeEnum;
    }

    public void setArrearsSetTypeEnum(ArrearsSetTypeEnum arrearsSetTypeEnum) {
        this.arrearsSetTypeEnum = arrearsSetTypeEnum;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Boolean getHide() {
        return hide;
    }

    public void setHide(Boolean hide) {
        this.hide = hide;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public boolean isInitData() {
        return initData;
    }

    public void setInitData(boolean initData) {
        this.initData = initData;
    }
}
